<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body></body>
  <script>
    var i = 0;
    function fn(a, b, c) {
      let tmp = null;
      if (a > b) {
        tmp = a;
        a = b;
        b = tmp;
      }
      if (a > c) {
        tmp = a;
        a = c;
        c = tmp;
      }
      if (b > c) {
        tmp = b;
        b = c;
        c = tmp;
      }
      return `${a} ${b} ${c}`;
    }
    console.log(fn(8, 5, 2));
  </script>
  <script>
    console.log(i);
  </script>
</html>
